//
//  Wallet.h
//  Bees
//
//  Created by NowYouCanSee on 2018/12/26.
//  Copyright © 2018 xiaohan. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "TokenInfo.h"
#import "DappInfo.h"

NS_ASSUME_NONNULL_BEGIN

@interface Receive : NSObject
@property(nonatomic, strong) NSString *wallet_name;
///添加时间
@property(nonatomic, strong) NSString *addTime;
@end

@interface Wallet : NSObject
@property(nonatomic, strong) NSString *wallet_name;
///wallet_name _ sha256 == wallet_uid
@property(nonatomic, strong) NSString *wallet_uid;
@property(nonatomic, strong) NSString *wallet_public_key;
@property(nonatomic, strong) NSString *password_tip;
@property(nonatomic, strong) NSString *password_sha;
///私钥加密码AES
@property(nonatomic, strong) NSString *wallet_private_AES_key;
///钱包体系
@property(nonatomic, strong) NSString *wallet_system;
///可用余额
@property(nonatomic, strong) NSString *balance;
///创建时间
@property(nonatomic, strong) NSString *created;
///添加时间
@property(nonatomic, strong) NSString *addTime;

@property(nonatomic, strong) NSString *contractsJson;
///添加的资产
@property(nonatomic, strong) NSArray<TokenInfo*>*contracts;

@property(nonatomic, strong) NSString *myTokenListJson;
///自己的资产
@property(nonatomic, strong) NSArray<TokenInfo*>*myTokenList;
///资产合约json
@property(nonatomic, strong) NSArray<NSString*>*codes;
@property(nonatomic, strong) NSString *codesJson;
///记录自己名下有的删除的合约
@property(nonatomic, strong) NSArray<NSString*>*deleteCodes;
@property(nonatomic, strong) NSString *deleteCodesJson;

@property(nonatomic, strong) NSString *whiteDappJson;
@property(nonatomic, strong) NSArray<DappInfo*>*whiteDapps;
///权限
@property(nonatomic, strong) NSString *permission;
///预留字段
@property(nonatomic, strong) NSString *reserved;

@end

NS_ASSUME_NONNULL_END
